/*
 * Receptor.java
 *
 * Created on 21 de enero de 2008, 18:41
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package mx.gob.sat.cfd._2.comprobante;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
        "domicilio"
    })
public class Receptor {
    
    @XmlElement(name="Domicilio", namespace="http://www.sat.gob.mx/cfd/2", required=true)
    private TUbicacion domicilio;
    @XmlAttribute(required = true)
    protected String nombre;
    @XmlAttribute(required = true)
    protected String rfc;
    
    /**
    * Gets the value of the nombre property.
    * 
    * @return
    *     possible object is
    *     {@link String }
    *     
    */
    public String getNombre() {
        return nombre;
    }

    /**
    * Sets the value of the nombre property.
    * 
    * @param value
    *     allowed object is
    *     {@link String }
    *     
    */
    public void setNombre(String value) {
        this.nombre = value;
    }

    /**
    * Gets the value of the rfc property.
    * 
    * @return
    *     possible object is
    *     {@link String }
    *     
    */
    public String getRfc() {
        return rfc;
    }

    /**
    * Sets the value of the rfc property.
    * 
    * @param value
    *     allowed object is
    *     {@link String }
    *     
    */
    public void setRfc(String value) {
        this.rfc = value;
    }

    public TUbicacion getDomicilio() {
        return domicilio;
    }

    public void setDomicilio(TUbicacion domicilio) {
        this.domicilio = domicilio;
    }
    
}
